Builder
Builder class for NotificationChannelCompat objects.
Constructors
Functions
Link copied to clipboard
Creates a NotificationChannelCompat instance.
Link copied to clipboard
@NonNull
Sets this channel as being conversation-centric.
Link copied to clipboard
@NonNull
Sets the user visible description of this channel.
Link copied to clipboard
@NonNull
Sets what group this channel belongs to.
Link copied to clipboard
Sets the level of interruption of this notification channel.
Link copied to clipboard
Sets the notification light color for notifications posted to this channel, if lights are enabled on this channel and the device supports that feature.
Link copied to clipboard
Sets whether notifications posted to this channel should display notification lights, on devices that support that feature.
Link copied to clipboard
@NonNull
Sets the user visible name of this channel.
Link copied to clipboard
Sets whether notifications posted to this channel can appear as application icon badges in a Launcher.
Link copied to clipboard
@NonNull
Sets the sound that should be played for notifications posted to this channel and its audio attributes.
Link copied to clipboard
@NonNull
Sets whether notification posted to this channel should vibrate.
Link copied to clipboard
@NonNull
Sets the vibration pattern for notifications posted to this channel.